package edu.parq.uaa.io;

import java.sql.ResultSet;

import edu.parq.uaa.db.DB;

public class DBReader {
	
	public DBReader()throws Exception{
		DB db=new DB();
		
		ResultSet rset=db.getData();
		
		while (rset.next()){
			for (int i=8;i<9;i++)
			System.out.print(rset.getString(6) + ">> " + rset.getString(i) + "\t");
			System.out.println();
		}
	}
	
	public static void main(String [] args)throws Exception{
		new DBReader();
	}
}
